WP_Defender\Component\Fake_Bot_Detection S

Total Complexity 49
Dependencies 5
Dependents 2
Total lines 409
Lines of code 203
Logical lines of code 120
Comment lines 83
Methods 10
Properties 2

Methods 10

Method Rating Maintainability Complexity Lines of code
validate_legit_crawler()
A
44 16 44
is_facebook_ip()
A
44 10 44
load_crawlers()
S
52 7 25
log_event()
S
52 5 24
block_ip()
S
51 2 27
clear_fb_transients()
S
55 2 20
match_user_agent()
S
67 3 8
is_enabled()
S
80 2 3
__construct()
S
81 1 3
create_blocked_lockout()
S
74 1 5